package com.zenithmind.article.pojo.query;

import com.zenithmind.common.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = false)
@Data
public class ArticleQuery extends BaseQuery {
    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "分类ID")
    private String categoryId;

    @Schema(description = "作者ID")
    private String userId;

    @Schema(description = "状态：0-草稿，1-已发布，2-已删除")
    private Integer status;

    @Schema(description = "是否置顶：0-否，1-是")
    private Integer isTop;

    @Schema(description = "是否推荐：0-否，1-是")
    private Integer isRecommend;

}
